package com.yige.service.mongoService

import com.mongodb.DBCollection
import com.yige.common.SystemConstant
import com.yige.service.GoodsNumService
import org.springframework.stereotype.Service

/**
 * Created by sunhao on 2015/10/14 0014.
 */

@Service
class MongoGoodsNumService extends BasicMongoServiceImp implements GoodsNumService{

    @Override
    DBCollection getCollection() {
        return mongoTemplate.getCollection(SystemConstant.MONGODB_COL_GOODS_NUM)
    }

}
